package lee.vioson.remotedata.bean

import android.icu.text.SimpleDateFormat
import java.util.Date
import java.util.Locale

/**
 *Author:viosonlee
 *Date:2023/6/12
 *DESCRIPTION:
 */
data class Feedback(
    val firstMessageId: String,
    val id: String,
    val isRead: Int,
    val isReply: String,
    val messageContent: String,
    val messageDate: Long,
    val messagePhoto: String,
    val messageUserId: String,
    val messageUserName: String,
    val parentMessageId: String,
    val readDate: Long,
    val type: String,
    val typeCode: String
){
    val messageDateStr: String
        get() = SimpleDateFormat("MMM d,yyyy hh:mm:ss", Locale.US).format(Date(messageDate))
}